Efficient Timestamps for Capturing Causality
نویسندگان
چکیده
Consider an asynchronous system consisting of processes that communicate via message-passing.The processes communicate over a potentially incomplete communication network consisting of reli-able bidirectional communication channels. Thus, not every pair of processes is necessarily able tocommunicate with each other directly.The goal of the algorithms discussed in this paper is to assign timestamps to the events at all theprocesses such that (a) distinct events are assigned distinct timestamps, and (b) the happened-beforerelationship between the events can be inferred from the timestamps. We consider three types ofalgorithms for assigning timestamps to events: (i) Online algorithms that must (greedily) assign atimestamp to each event when the event occurs. (ii) Offline algorithms that assign timestamps toevent after a finite execution is complete. (iii) Inline algorithms that assign a timestamp to eachevent when it occurs, but may modify some elements of a timestamp again at a later time.For specific classes of graphs, particularly star graphs and graphs with connectivity ≥ 1, the paperpresents bounds on the length of vector timestamps assigned by an online algorithm. The paperthen presents an inline algorithm, which typically assigns substantially smaller timestamps than theoptimal-length online vector timestamps. In particular, the inline algorithm assigns timestamp inthe form of a tuple containing 2c+ 2 integer elements, where c is the size of the vertex cover for theunderlying communication graph. A version of this report, excluding Section 5.1, was submitted for review to a conference on May 11, 2016. 1arXiv:1606.05962v1[cs.DC]20Jun2016
منابع مشابه
Methods for Enhancement of Timestamp Evidence in Digital Investigations
This work explores how the evidential value of digital timestamps can be enhanced by taking a hypothesis based approach to the investigation of digital timestamps. It defines the concepts of clock hypotheses, timestamps and causality in digital systems. These concepts are utilized to develop methods that can be used in an investigation to test a clock hypothesis for consistency with timestamps ...
متن کاملEfficient Vector Time with Dynamic Process Creation and Termination
Many distributed algorithms require knowledge of the causal relationships between events. Examples include optimistic recovery protocols, distributed debugging systems, and causal distributed shared memory. Determining causal relationships can be difficult, however, because there is no global clock and local clocks cannot be perfectly synchronized. Vector time is a useful abstraction for captur...
متن کاملEfficient Causality-Tracking Timestamping
Vector clocks are the appropriate mechanism used to track causality among the events produced by a distributed computation. Traditional implementations of vector clocks require application messages to piggyback a vector of n integers (where n is the number of processes). This paper investigates the tracking of the causality relation on a subset of events (namely, the events that are defined as ...
متن کاملAn Interval Algebra for Indeterminate Time
Temporal indeterminacy is an inherent problem which arises when capturing and manipulating temporal data in many application areas. As such, representation and manipulation of timestamps with indeterminacy is a requirement for these applications. We present an extension of Allen’s thirteen interval relationships to indeterminate temporal intervals based on a novel representation for indetermina...
متن کاملA Scalable Partial-Order Data Structure for Distributed-System Observation
Distributed-system observation is foundational to understanding and controlling distributed computations. Existing tools for distributed-system observation are constrained in the size of computation that they can observe by three fundamental problems. They lack scalable information collection, scalable data-structures for storing and querying the information collected, and scalable information-...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید
ثبت ناماگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید
ورودعنوان ژورنال:
- CoRR
دوره abs/1606.05962 شماره
صفحات -
تاریخ انتشار 2016